package cn.bbs.ba.ActionServlet;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.action.ActionServlet;

public class BAActionServlet extends ActionServlet{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	  public void destroy() {
		  super.destroy();
	  }
	  public void init() {
		  try {
			super.init();
		} catch (ServletException e) {
			e.printStackTrace();
		}
	  }
	  
	  public void doGet(HttpServletRequest request, HttpServletResponse response) {
			try {
				try {
					super.doGet(request, response);
				} catch (ServletException e) {
					// TODO Auto-generated catch block
					e.printStackTrace();
				}
			} catch (IOException e) {
				e.printStackTrace();
			}
	  }
	  
	  public void doPost(HttpServletRequest request, HttpServletResponse response) {
		  try {
			try {
				super.doPost(request, response);
			} catch (ServletException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
		} catch (IOException e) {
			e.printStackTrace();
		}
	  }
}
